﻿#pragma once
// Copyright (c) lanyeo 2020-2021
// Licenced under MIT license. See https://opensource.org/licenses/MIT for details.
// code style
// 1. use forward declaration (尽可能使用前置声明)
// 2. include file sequence [other project>c>c++>third>self project]
// 

#include <map>
#include <string>
#include <unordered_map>

struct BoxInfo
{
    std::string name;
    int type;
    int id;
    std::string ip;
    int listen;
    uint32_t tick;
};

struct BoxConf
{
    std::map<int, std::unordered_map<int, BoxInfo>> services;
};
